Skip to content

test(pm-stack): get the scheduled tests green: directory order in the claimant suite, and the Reports page's tier - #12936

Merged
dezren39 merged 3 commits into
mainfrom
claude/claimant-install-order
Nov 23, 2026
Merged

dezren39 merged 3 commits into
mainfrom
claude/claimant-install-order

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

The scheduled pm-stack tests run has failed every night since at least 2026-11-20 (last scheduled run). Two things were wrong; with both fixed the whole job passes on the runner (run on this branch).

1. The claimant install suite compared a directory listing in a fixed order

Three tests in pm-stack/opencode-claimant/test/install.test.mjs compare readdir() with a list in a fixed order. The runner's filesystem lists the two entries the other way round:

-   ".config",
    "explicit-store.json",
+   ".config",

A directory has no order to rely on, and the assertion is about which entries exist. Both sides are now sorted.

Because that step failed, every later step of the job was skipped each night: the external-comms, usage-export, cloudflare-export, meta-exporter, watchdog-state and decision-events-worker suites had not run on schedule since.

2. The aggregator's decision table did not know the Reports page

#12491 added the Reports page to the manifest (at dropdown tier) without its row in the #1497 decision table that curation-1497.test.ts checks the manifest against, so the aggregator suite has failed on main since yesterday evening. The row is added, at dropdown tier, as the page entered.

Checked

  • First run on this branch with only fix 1: the install suite was no longer the failure; the aggregator suite was (fix 2's subject), which is how it was found.
  • Second run with both: the job is green end to end, every step run.
  • Here: aggregator 3267 pass, install suite 13 pass.

https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF


Generated by Claude Code

…rd to directory order

The scheduled pm-stack tests have failed every night since at least
2026-11-20 in "Test claimant install bun suite": three tests in
test/install.test.mjs compare readdir() with a list in a fixed order,
and the runner's filesystem lists the two entries the other way round
(received ["explicit-store.json", ".config"]). A directory has no
order to rely on. What the assertion means is which entries exist, so
both sides are sorted.

Because the step failed, every later step of that job was skipped each
night: the external-comms, usage-export, cloudflare-export,
meta-exporter, watchdog-state and decision-events-worker suites have
not run on schedule since.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
@dezren39
dezren39 requested a review from a team as a code owner November 23, 2026 05:21
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 46 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 46af9a35-9ac7-4307-9122-6e3a8d08bf97
Commits

Reviewing files that changed from the base of the PR and between 0f311ae and d60e343.

Files selected for processing: 2

  • pm-stack/aggregator/test/curation-1497.test.ts
  • pm-stack/opencode-claimant/test/install.test.mjs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T05:32:13.186644Z d60e343 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…sion table

#12491 added the Reports page to the manifest at dropdown tier without
its row in the decision table that the curation test checks the
manifest against, so "every manifest page carries its recorded tier"
has failed on main since (seen on the run of this branch, where the
aggregator suite now fails before the claimant suite is reached). The
page entered at dropdown tier, as new pages do without a ruling that
promotes them; the row says so.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YLT5K1QVuzZjfWGFhXSSNF
@dezren39 dezren39 changed the title test(claimant): compare the installer's no-write listing without regard to directory order test(pm-stack): get the scheduled tests green: directory order in the claimant suite, and the Reports page's tier Nov 23, 2026
@dezren39
dezren39 merged commit a2494ad into main Nov 23, 2026
3 checks passed
@dezren39
dezren39 deleted the claude/claimant-install-order branch November 23, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants